package com.wanjia.bpsapi.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 参数表
 * </p>
 *
 * @author wyn
 * @since 2023-02-13
 */
@Schema(title ="Param对象", description = "参数表")
@Data
public class Param implements Serializable {

    @Schema(title = "参数ID")
    @TableId(type = IdType.AUTO)
    private Long paramId;

    @Schema(title = "耗材名称")
    private String consumable;

    @Schema(title = "计算类型")
    private Integer caltype;

    @Schema(title = "单位")
    private String unit;

    @Schema(title = "价格")
    private BigDecimal price;

    @Schema(title = "备注")
    private String comment;
}
